package com.medicine.sys.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.medicine.sys.entity.Merchant;
import com.medicine.sys.entity.Organization;
import com.medicine.sys.mapper.OrganizationMapper;
import com.medicine.sys.param.MerchantParam;
import com.medicine.sys.param.OrganizationParam;
import org.springframework.stereotype.Service;

@Service
public class OrganizationService extends ServiceImpl<OrganizationMapper, Organization> {


    public Page<Merchant> selectList(OrganizationParam organizationParam){

        return null;
    }

    public void install(Organization organization){

        saveOrUpdate(organization);
    }

    public Organization getId(String id){
        return getById(id);
    }
}
